<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/1.8.0/jquery-1.8.0.min.js"></script>
  </head>
  <body>
    <div id="qq">
      <div>
        <div id="text">我是子级</div>
      </div>
    </div>

    <div id="father-div">
      <input id="inp1" type="text" class="inp1" value="8888" />
      <input type="text" value="8888" />
      <input checked id="radio1" type="radio" name="fruit" value="1" />
      <input type="radio" id="radio2" name="fruit" value="2" />
    </div>
    <p>8888</p>
    <script>
      $(function () {
        // console.log($('#father-div').find('input[type="radio"]').length)
        /*         var findDom = $('#father-div').find('input[type="text"]')
        findDom.css('color', 'red') */
      })
    </script>
  </body>
</html>
